package com.zui.webapp.action;

import com.zui.util.JQGridFilter;
import com.zui.util.JqGridPage;

public class BaseJQGridAction extends BaseAction {
	private static final long serialVersionUID = 1L;
	/**
	 * The page infos for DisplayTag paging.
	 * 
	 * refer to classes/displaytag.propertie
	 * # external sort and pagination
	 * pagination.sort.param=page.sortColumn
	 * pagination.sortdirection.param=page.sortOrder
	 * pagination.pagenumber.param=page.requestPage
	 */
//	protected Page dPage;
//	public Page getdPage() {return dPage;}
//	public void setdPage(Page dPage) {this.dPage = dPage;}
	
	/************************************
	 * page info for jdGrid
	 **************************************/
	protected JqGridPage jq;
	public JqGridPage getJq() {return jq;}
	public void setJq(JqGridPage jq) {this.jq = jq;}
	
	/**
	 * Toolbar searching and Advanced searching
	 * e.g.: {"groupOp":"AND","rules":[{"field":"catalogName","op":"bw","data":"2"}]}
	 */
	protected JQGridFilter jqFilters;
	public JQGridFilter getFilters() {return jqFilters;}
	public void setFilters(JQGridFilter filters) {this.jqFilters = filters;}
	/**
	 * 
	 */
	protected boolean valid;
	public boolean isValid() {return valid;}
	public void setValid(boolean valid) {this.valid = valid;}
	
	protected String checkedField;
	public String getCheckedField() {return checkedField;}
	public void setCheckedField(String checkedField) {this.checkedField = checkedField;}
	
	protected String jsonResult;
	public String getJsonResult() {	return jsonResult;	}
	public void setJsonResult(String jsonResult) {this.jsonResult = jsonResult;}
	

}